]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Remove some outdated set_hidden_from_pick calls
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 21 Aug 2013 19:53:57 +0000 (15:53 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 21 Aug 2013 20:53:04 +0000 (16:53 -0400)
XDND no longer uses CLUTTER_PICK_ALL, so we don't need to hide
certain actors from pick anymore.

js/ui/layout.js
js/ui/xdndHandler.js

index 7176d5237df7127fe57e453d58a07ff199a72b2b..9024695db0f0189335e96f6896bff3243864045f 100644 (file)
@@ -227,11 +227,6 @@ const LayoutManager = new Lang.Class({
         this._backgroundGroup.lower_bottom();
         this._bgManagers = [];
 
-        // This blocks the XDND picks from finding the activities button
-        // and we never attempt to pick anything from it anyway so make
-        // it invisible from picks
-        Shell.util_set_hidden_from_pick(global.top_window_group, true);
-
         // Need to update struts on new workspaces when they are added
         global.screen.connect('notify::n-workspaces',
                               Lang.bind(this, this._queueUpdateRegions));
index 61e1e4db6f1f230f245b58969fb1504f66b6ef57..68da0bf24d18b1085e7c06d03e47e8a9d9f105d3 100644 (file)
@@ -18,7 +18,6 @@ const XdndHandler = new Lang.Class({
         // Used as a drag actor in case we don't have a cursor window clone
         this._dummy = new Clutter.Actor({ width: 1, height: 1, opacity: 0 });
         Main.uiGroup.add_actor(this._dummy);
-        Shell.util_set_hidden_from_pick(this._dummy, true);
         this._dummy.hide();
 
         global.init_xdnd();
@@ -69,7 +68,6 @@ const XdndHandler = new Lang.Class({
 
             this._cursorWindowClone = new Clutter.Clone({ source: cursorWindow });
             Main.uiGroup.add_actor(this._cursorWindowClone);
-            Shell.util_set_hidden_from_pick(this._cursorWindowClone, true);
 
             // Make sure that the clone has the same position as the source
             this._cursorWindowClone.add_constraint(constraint_position);